export type CurrentUserResponseData = ApiResponseData<{ username: string, roles: string[] }>

export interface UserItem {
  id: string;
  username: string;
  email: string;
  roles: string[];
  createdAt: string;
  updatedAt: string;
}

// Add this for pagination request parameters
export interface GetUsersRequestData {
  page?: number;
  limit?: number;
}

// Update this to match backend pagination response
export interface GetUsersResponseData {
  data: UserItem[];
  total: number;
  currentPage: number;
  perPage: number;
}

export interface CreateUserRequestData {
  username: string;
  email: string;
  password: string;
}

export interface UpdateUserRequestData {
  username: string;
  email: string;
}

export interface ResetPasswordRequestData {
  password: string;
}
